module.exports = {
    pluginOptions: {
        'style-resources-loader': {
            preProcessor: 'less',
            //设置全局样式文件 
            //patterns: [ path.resolve(__dirname, './src/assets/css/base.less') ]
          }
    },
    css: {
        loaderOptions: {
            less: {
                lessOptions: {
                    javascriptEnabled: true
                }
            }
        }
    }
}